package com.itheima.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.health.pojo.Member;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @program: health_paret
 * @description:
 * @author: Mr.Wang
 * @create: 2020-11-12 23:43
 **/
public interface MemberMapper extends BaseMapper<Member> {
@Select("select id,PHONENUMBER from t_member where PHONENUMBER = #{telephone}")
    Member  findTelephone(@Param("telephone") String telephone);
}
